import request from "../request"

// 对接口的封装
function category(data){
    // axios.get("/index/index",{
    //     params:{

    //     }
    // })
    return request({
        url:"/category/indexaction",
        data
    })
}

function goodsList(data){
    return request({
        url:"/goods/goodsList",
        data
    })
}

function currentaction(data){
    return request({
        url:"/category/currentaction",
        data
    })
}

function categoryNav(data){
    return request({
        url:"/category/categoryNav",
        data
    })
}

export {
    category,
    goodsList,
    currentaction,
    categoryNav
}
